package com.xqboss.apps.dto.nft;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class NftCategoryDTO {

//    private Long id;

//    @ApiModelProperty("nft作品 id")
//    private Long nftId;


    @ApiModelProperty("分类 id")
    @NotNull
    @Min(value = 1)
    private Long categoryId;

    @ApiModelProperty("分类名称")
    @NotNull
    @Length(max = 255)
    private String name;

    @ApiModelProperty("分类等级")
    @NotNull
    @Min(value = 1)
    @Max(value = 3)
    private Integer level;


//    @ApiModelProperty("分组ID")
//    @NotNull
//    @Min(value = 1)
//    private Integer groupId;
}
